package com.huxun.service;

import com.huxun.bean.Desk;

import java.util.List;

public interface DeskService {
    //查询
    List<Desk> getDesks(Desk desk);
    //新增
    int addDesk(Desk desk);
    //删除  是假删除
    int deleteDesk(int id);
    //状态  预订或者退桌
    int changeState(Desk desk);
    //根据id查询
    Desk getById(int id);
}
